package com.qhs.sys.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.qhs.framework.config.jackson.JacksonDateSerializer;

import java.io.Serializable;

public class SmsLog implements Serializable {
    private Long id;

    private String phone;

    private Integer type;

    private String verifyCode;

    @JsonSerialize(using = JacksonDateSerializer.class)
    private Long requestTime;

    private Long invalidTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode == null ? null : verifyCode.trim();
    }

    public Long getRequestTime() {
        return requestTime;
    }

    public void setRequestTime(Long requestTime) {
        this.requestTime = requestTime;
    }

    public Long getInvalidTime() {
        return invalidTime;
    }

    public void setInvalidTime(Long invalidTime) {
        this.invalidTime = invalidTime;
    }
}